package com._520it.crm.mapper;

import com._520it.crm.domain.Premium;
import com._520it.crm.query.QueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface PremiumMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Premium record);

    Premium selectByPrimaryKey(Long id);

    List<Premium> selectAll();

    int updateByPrimaryKey(Premium record);

    Integer queryforCount(QueryObject qo);

    List<Premium> queryforList(QueryObject qo);
}